package com.kun.service;


import com.kun.entity.Attachment;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface AttachmentService {


    public int addAttachment(Attachment attachment);

    public int deleteAttachment(int id);

    public int updateAttachment(Attachment attachment, Map map);

    public List<Attachment> selectAllAttachments(Map map);
}
